package com.example.foods.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单
 */
@Data
public class Orders implements Serializable {

    private Integer orderId;

    private Integer cstId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+00:00")
    private Date orderDate;

    //1-已付款
    private Integer orderStatus;

    private String outOrderId;

    private Float totalPrice;
}
